﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpGeometryInterface.h"
#include "Vector2d.h"

namespace gcmp
{
    class GCMP_GEOMETRY_INTERFACE_EXPORT SlopeArrowData
    {
    public:
        SlopeArrowData();
        SlopeArrowData(const SlopeArrowData& src);

        int m_boundaryCurveIndex;   //坡度箭头所属的屋顶边界线在屋顶轮廓Polygon上的coedge索引序号
        Vector2d m_basePoint;       //坡度箭头的起点坐标
        Vector2d m_direction;       //坡度箭头的方向，单位向量
        double m_slopeAngle;        //坡度箭头对应的坡度角度
    };
}
